package com.example.androidpattern.adapter;

import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.example.androidpattern.AppConstant;
import com.example.androidpattern.EMTagHandler;
import com.example.androidpattern.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class AdapterActivity extends AppCompatActivity {

    @BindView(R.id.btn_adapter)
    Button btnAdapter;
    @BindView(R.id.tv_adapter_info)
    TextView tvAdapterInfo;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_adapter);
        ButterKnife.bind(this);

        setTitle("适配器模式");
        tvAdapterInfo.setText(EMTagHandler.fromHtml(AppConstant.ADAPTER_DEFINE));

    }

    @OnClick(R.id.btn_adapter)
    public void onViewClicked() {
    }
}
